package org.example.file.avro;

public class Test {

    public static void main(String[] args) {
        String noteId = "630833c1000000001702c80f";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "6308778a000000001800f544";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "63084423000000001d036a35";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "6308da5f000000001b005cf2";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "63089910000000001b022668";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "6308c5e3000000001b01b7d5";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "6308438e000000001b006d9d";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "63086a05000000001b020413";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "6308adbb000000001d0349d1";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "6308222e000000001800e5e5";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "6308ca810000000019028d8d";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "6308c997000000001800ca53";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "63087dbf000000001702e7a6";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "63085a0b000000001e00bf76";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "63085a0b000000001e00bf76";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "63085a0b000000001e00bf76";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "63085a0b000000001e00bf76";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "63085a0b000000001e00bf76";
        System.out.println((hash(noteId.hashCode())) % 5);
        noteId = "63085a0b000000001e00bf76";
        System.out.println((hash(noteId.hashCode())) % 5);

    }

    public static int hash(Object key) {
        int h;
        return (key == null) ? 0 : (h = key.hashCode()) ^ (h >>> 16);
    }

}
